package cn.edu.sdu.databasedocument.model;

import java.util.ArrayList;
import java.util.List;

public class DatabaseDocumentModel {
    /**
     * ip
     */
    private String ip;
    /**
     * 端口
     */
    private String port;
    /**
     * 数据库名
     */
    private String database;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 输出文件夹
     */
    private String fileOutputDir;
    /**
     * 文档名称
     */
    private String fileName;
    /**
     * 文档版本
     */
    private String version;
    /**
     * 文档描述
     */
    private String description;
    /**
     * 输出文件类型
     */
    private String fileType;

    /**
     * 忽略表
     */
    private List<String> ignoreTableName = new ArrayList<>();

    /**
     * 忽略表前缀
     */
    private List<String> ignorePrefix = new ArrayList<>();

    /**
     * 忽略表后缀
     */
    private List<String> ignoreSuffix = new ArrayList<>();

    /**
     * 根据名称指定表生成
     */
    private List<String> designatedTableName = new ArrayList<>();

    /**
     * 根据表前缀生成
     */
    private List<String> designatedTablePrefix = new ArrayList<>();

    /**
     * 根据表后缀生成
     */
    private List<String> designatedTableSuffix = new ArrayList<>();

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFileOutputDir() {
        return fileOutputDir;
    }

    public void setFileOutputDir(String fileOutputDir) {
        this.fileOutputDir = fileOutputDir;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public List<String> getIgnoreTableName() {
        return ignoreTableName;
    }

    public void setIgnoreTableName(List<String> ignoreTableName) {
        this.ignoreTableName = ignoreTableName;
    }

    public List<String> getIgnorePrefix() {
        return ignorePrefix;
    }

    public void setIgnorePrefix(List<String> ignorePrefix) {
        this.ignorePrefix = ignorePrefix;
    }

    public List<String> getIgnoreSuffix() {
        return ignoreSuffix;
    }

    public void setIgnoreSuffix(List<String> ignoreSuffix) {
        this.ignoreSuffix = ignoreSuffix;
    }

    public List<String> getDesignatedTableName() {
        return designatedTableName;
    }

    public void setDesignatedTableName(List<String> designatedTableName) {
        this.designatedTableName = designatedTableName;
    }

    public List<String> getDesignatedTablePrefix() {
        return designatedTablePrefix;
    }

    public void setDesignatedTablePrefix(List<String> designatedTablePrefix) {
        this.designatedTablePrefix = designatedTablePrefix;
    }

    public List<String> getDesignatedTableSuffix() {
        return designatedTableSuffix;
    }

    public void setDesignatedTableSuffix(List<String> designatedTableSuffix) {
        this.designatedTableSuffix = designatedTableSuffix;
    }
}
